package com.example.service;

import com.example.result.ReturnResult;
import com.example.vo.ClassificationCheckUniqueParamsVO;
import com.example.vo.ClassificationCreateFormVO;

import java.util.List;

public interface IClassificationManagementService {
    ReturnResult queryByParams(String nameOrCode);

    ReturnResult queryDetailsById(Long id);

    ReturnResult checkUnique(ClassificationCheckUniqueParamsVO vo);

    ReturnResult createClassificationNode(ClassificationCreateFormVO vo);

    ReturnResult findOptionalAttrs();


    ReturnResult addClassificationAttrs(List<String> attrs, Long id);
}
